$def with (post, form)

<h1>Edit $form.d.title</h1>

<form action="" method="post">
    $:form.render()
</form>

<h2>Delete post</h2>

<form action="/delete/$post.id" method="post">
    <input type="submit" value="Delete post"/>
</form>